<template>
  <div id="app">
    <transition name="fade-transform" mode="out-in">
      <router-view />
    </transition>
  </div>
</template>
<script>
export default {
  data() {
    return {
      // time: 0
    };
  },

  created() {
    // this.refresh()
  },
  methods: {
    // refresh() {
    //   const timeout = 1000 * 60 * 5
    //   clearTimeout(this.time)
    //   this.time = setTimeout(() => {
    //     location.href = location.href + (location.href.indexOf("?")>-1?"&":"?") + "time="+(new Date()).getTime()
    //     // location.reload(true)
    //   }, timeout) // 1个小时检查一次更新
    // }
  }
};
</script>
<style lang="less">
#app {
  min-height: 100vh;
  background: #f5f5f5;
  font-size: 0.14rem;
  line-height: 0.2rem;
  color: #333;
}
* {
  box-sizing: border-box;
}
</style>
